package com.hzw.saas.web.app.product.param;

import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zzl
 * @since 02/21/2021
 */
@Data
@ApiModel("产品订阅参数")
public class ProductSubscribeParam implements Serializable {

    private static final long serialVersionUID = 6693146193847729315L;

    /**
     * 产品ID
     */
    @ApiModelProperty(value = "产品ID", required = true)
    @NotBlank(message = "产品ID不可为空")
    private String productId;

    /**
     * 订阅状态，0-取消订阅，1-开始订阅
     */
    @ApiModelProperty(value = "订阅状态，0-取消订阅，1-开始订阅", required = true)
    @NotNull(message = "订阅状态不可为空")
    private Integer subStatus;

}
